package cn.itcast.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <h4>day01_1_springcloud_eureka</h4>
 * <p>nacos配置类</p>
 *
 * @author : by wujianming
 * @date : 2021-11-20 09:20
 **/
//
@Component
@Data
@ConfigurationProperties(prefix = "pattern")//配置中心前缀
public class PatternProperties {
    private String dateformat;
    private String huanjing;
}
